import React, { Component } from 'react'
import { Link } from 'react-router-dom'

export default class LinkMen extends Component {
  render() {
    return (
      <div>
          <div className='menu-grout'>
            {/* 在React中靠路由链接实现切换组件--编写路由链接 */}
            <Link to='/about'>About</Link>
            <Link to='/home'>home</Link>
          </div>
      </div>
    )
  }
}
